body {
    font-family: "M PLUS 2", sans-serif;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    text-align: center;
    padding: 24px 0;
}

header .logo {
    font-family: "Sacramento", cursive;
    font-size: 40px;
    font: 700;
    font-weight: 900;
    color: rgb(0, 0, 0);

}

.hero {
    background-image: url(../images/view2.jpg);
    background-size: cover;
    background-position: center;
    height: 690px;
    position: relative;
}
.hero .box {
    color: #ffffff;
    position: absolute;
    bottom: 50px;
    left: 36px;
}

.hero h1 {
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
    max-width: 800px;
    margin-bottom: 30px;
}
.hero .jp {
    font-size: 24px;
}

#zairyo {
    color: rgb(46, 46, 203);
}

.about {
    padding: 64px;
}
.container {
    width: 94%;
    max-width: 1140px;
    margin: 0 auto;
}
h2 {
    font-family: "Yu Mincho";
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    background-image: linear-gradient(to right, red, rgb(242, 157, 0));
    background-clip: text;
    color: transparent; 
    margin-bottom: 40px;
}
.about h2 span {
    border-bottom: 5px solid orangered;
}
.about .imagebox {
    text-align: center;
}
.about .imagebox img {
    max-width: 660px;
    border-radius: 10px;
    margin-bottom: 30px;
}
.about .text {
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
}
.area {
padding: 64px 0;
background-color: #f4f9f9;
}
.area h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    background-image: linear-gradient(to right, red, rgb(242, 157, 0));
    background-clip: text;
    color: transparent; /*ここで文字を透明にしてグラデーションを重ねる*/
    margin-bottom: 46px;
}
.area .lead {
    text-align: center;
    line-height: 1.8;
    margin-bottom: 40px;
}
.area .row { 
    display: flex; /*横並びの指定*/
    justify-content:space-between;
    align-items: center;
}
.area .row.reverse {
    flex-direction:row-reverse;
}
.area .col:first-child {
    width: 50%;
    background-size: cover;
    background-position: center;
    height: 460px;
}
.area .col:last-child {
    width: 50%;
    padding-left: 3%;
    padding-right:3%;
}
.area .col.image1 {
    background-image:url(../images/1.jpg);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.area .col.image16 {
    background-image:url(../images/16.jpg);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.area .col.image19 {
    background-image:url(../images/19.jpg);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.area .col.image15 {
    background-image:url(../images/15.jpg);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.area h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;

}
#daimei {
    border-bottom: 5px solid black;
}
.area .text {
    line-height: 2;
}
footer {
    text-align: center;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 20px 0;
}

@media screen and (max-width: 768px) {
    .hero {
        height: 500px;
    }
    .hero .box {
        bottom: 48px;
        left: 20px;
    }
    .hero h1 {
        font-size: 34px;
        line-height: 1;
        max-width: 340px;
        margin-bottom: 12px;
    }
    .hero .jp {
        font-size: 14px;
    }
    .about {
        padding: 40px 0;
    }
    .about h2 {
        font-size: 20px;
        margin-bottom: 26px;
    }
    .about h2 span {
        border-bottom: 3px solid orangered;
    }
    .about .imagebox ing {
        margin-bottom: 16px;
    }
    .about .text {
        font-size: 15px;
    }
    .area {
        padding: 40px 0 20px;
    }
    .area h2 {
        font-size: 20px;
        margin-bottom: 26px;
    }
    .area h2 span {
        border-bottom: 3px solid orangered;
    }
    .area .lead {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .area .row {
        flex-wrap: wrap;
        margin-bottom: 20px;
    }
    .area .col:first-child {
        width: 100%;
        height: 200px;
        border-radius: 0 !important;
    }
    .area .col:last-child {
        width: 100%;
    }
    .area h3 {
        font-size: 18px;
        margin-top: 12px;
        margin-bottom: 10px;
    }
    .area .text {
        font-size: 15px;
        line-height: 1.8;
    }
}
